package com.whfc.fse.param.msg;

/**
 * @Description: 特种设备消息常量
 * @author: xugcheng
 * @version: 1.0
 * @date: 2020/5/21 14:16
 */
@Deprecated
public class FseMsgConst {

    /**
     * 固定帧头
     */
    public static final int FRAME_START_FALG = 0x24;

    /**
     * header数据长度
     */
    public static final int FRAME_HEADER_LENGTH = 23;

    /**
     * 塔机
     */
    public static final int DMODEL_CRANE = 0x02;

    /**
     * 升降机
     */
    public static final int DMODEL_LIFT = 0x03;

    /**
     * 硬件发起请求
     */
    public static final int OP_TYPE_R = 'R';

    /**
     * 平台发起请求
     */
    public static final int OP_TYPE_W = 'W';

    public static final int W_COMMON_REPLY_SUCCESS = 0;
    public static final int W_COMMON_REPLY_FAIL = 1;
    public static final int W_COMMON_REPLY_PARSE_ERROR = 2;

    /**
     * 心跳指令
     */
    public static final int FSE_UP_CMD_0X0000 = 0X0000;

    /**
     * 获取服务器时间
     */
    public static final int FSE_UP_CMD_0X0001 = 0X0001;

    /**
     * 开机状态上报
     */
    public static final int FSE_UP_CMD_0X0002 = 0X0002;

    /**
     * 塔机设备实时数据
     */
    public static final int FSE_UP_CMD_0X0200 = 0X0200;

    /**
     * 塔机设备吊装记录
     */
    public static final int FSE_UP_CMD_0X0201 = 0X0201;

    /**
     * 塔机设备参数上传
     */
    public static final int FSE_UP_CMD_0X0202 = 0X0202;

    /**
     * 塔机设备报警拍照上传
     */
    public static final int FSE_UP_CMD_0X0203 = 0X0203;

    /**
     * 塔机设备报警拍照上传(分包)
     */
    public static final int FSE_UP_CMD_0X0204 = 0X0204;

    /**
     * 升降机监控实时数据
     */
    public static final int FSE_UP_CMD_0X0300 = 0X0300;

    /**
     * 升降机报警图片上传
     */
    public static final int FSE_UP_CMD_0X0301 = 0X0301;

    /**
     * 升降机运行记录上传
     */
    public static final int FSE_UP_CMD_0X0302 = 0X0302;


}
